package com.zjz.demo.Fuction;

import java.util.function.Predicate;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: zjz
 * @Date: 2021/10/09/10:50
 * @Description:
 * @Target:
 */
public class PredicateTest {
    public static void main(String[] args) {
        Predicate<String> predicate = (str) ->{return str.isEmpty();};
        System.out.println(predicate.test(""));


    }
}
